package com.c1202m.hibernate.entities;

import java.util.Date;

public class RutTien implements java.io.Serializable {

    private int maRutTien;
    private Date ngayRut;
    private String soTK;
    private double soTienRut;
    private TaiKhoan taiKhoan;

    public RutTien() {
    }

    public RutTien(int maRutTien, Date ngayRut, String soTK, double soTienRut, TaiKhoan taiKhoan) {
        this.maRutTien = maRutTien;
        this.ngayRut = ngayRut;
        this.soTK = soTK;
        this.soTienRut = soTienRut;
        this.taiKhoan = taiKhoan;
    }

    public int getMaRutTien() {
        return maRutTien;
    }

    public void setMaRutTien(int maRutTien) {
        this.maRutTien = maRutTien;
    }

    public Date getNgayRut() {
        return ngayRut;
    }

    public void setNgayRut(Date ngayRut) {
        this.ngayRut = ngayRut;
    }

    public String getSoTK() {
        return soTK;
    }

    public void setSoTK(String soTK) {
        this.soTK = soTK;
    }

    public double getSoTienRut() {
        return soTienRut;
    }

    public void setSoTienRut(double soTienRut) {
        this.soTienRut = soTienRut;
    }

    public TaiKhoan getTaiKhoan() {
        return taiKhoan;
    }

    public void setTaiKhoan(TaiKhoan taiKhoan) {
        this.taiKhoan = taiKhoan;
    }
}
